package indi.zhifa.recipe.bailan5.coupon.serive;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import indi.zhifa.recipe.bailan5.coupon.entity.po.CouponObjectEntity;

public interface ICouponObjectService {
    CouponObjectEntity seizeCoupon(Long pUserId, Long pCouponId) throws InterruptedException;

    CouponObjectEntity seizeCouponNew(Long pUserId, Long pCouponId) throws InterruptedException;
    Page<CouponObjectEntity> page(Integer pCurrent, Integer pSize, Long pUserId);
}
